Avoid shadowing babl variable
authorMukund Sivaraman <muks@banu.com>
Thu, 26 Feb 2015 14:46:23 +0000 (20:16 +0530)
committerMukund Sivaraman <muks@banu.com>
Thu, 26 Feb 2015 14:46:23 +0000 (20:16 +0530)
babl/babl-model.c

index b181ca237e3473723325295035873618d03fce42..91c57ee2c12a0ac61c643f9ff1d8c5e9a2008a19 100644 (file)
@@ -113,12 +113,12 @@ babl_model_new (void *first_argument,
     {
       if (BABL_IS_BABL (arg))
         {
-          Babl *babl = (Babl *) arg;
+          Babl *bablc = (Babl *) arg;
 
-          switch (babl->class_type)
+          switch (bablc->class_type)
             {
               case BABL_COMPONENT:
-                component [components] = (BablComponent *) babl;
+                component [components] = (BablComponent *) bablc;
                 components++;
 
                 if (components >= BABL_MAX_COMPONENTS)
@@ -150,7 +150,7 @@ babl_model_new (void *first_argument,
               case BABL_FISH_PATH:
               case BABL_IMAGE:
               case BABL_EXTENSION:
-                babl_log ("%s unexpected", babl_class_name (babl->class_type));
+                babl_log ("%s unexpected", babl_class_name (bablc->class_type));
                 break;
 
               case BABL_SKY: /* shut up compiler */